import { RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "root",
    component: null,
    redirect: { name: "complaintsTable" },
    children: [
      {
        path: "complaintsTable",
        name: "complaintsTable",
        component: () => import("../views/complaintTable/index.vue"),
        meta: {
          title: "客诉工单管理",
          noCache: true,
        },
      },
    ],
  },
];

export default routes;
